package com.集合;

import java.util.ArrayList;
import java.util.Comparator;
import java.util.TreeMap;

public class Test {
    public static void main(String[] args) {
        ArrayList<Integer> list=new ArrayList<>();
        list.add(new Integer(100));
        System.out.println(list.remove(Integer.valueOf(100)));
        TreeMap<Student,String> map=new TreeMap<>(new Comparator<Student>() {
            @Override
            public int compare(Student o1, Student o2) {
                return 0;
            }
        });
    }
}
class Student{

}

